Support GEmblemedIcon
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 3 Aug 2008 19:28:05 +0000 (19:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 3 Aug 2008 19:28:05 +0000 (19:28 +0000)
svn path=/trunk/; revision=20951

ChangeLog
gdk/x11/gdkapplaunchcontext-x11.c

index 0a4bdbd219924a4ee026b3f078372ac8ca79039e..85e9f3ff747a33d010906f0b26e7746ed46574e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
+
 2008-08-03  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 546128 – Weirz string
index a7ee4339808f608a2c75674acc801b0530c90d14..106fcf55630ba380dbf76ac1bf3504580c0d4e38 100644 (file)
@@ -107,6 +107,14 @@ gicon_to_string (GIcon *icon)
       if (names)
        return g_strdup (names[0]);
     }
+  else if (G_IS_EMBLEMED_ICON (icon))
+    {
+      GIcon *base;
+
+      base = g_emblemed_icon_get_icon (G_EMBLEMED_ICON (icon));
+
+      return gicon_to_string (base);
+    }
 
   return NULL;
 }